<?php
Class LogClass{
	static public function write($sql, $path) {
		$time = date('Y-m-d H:i:s',$_SERVER['REQUEST_TIME']);
		$sql  = $time . "    " . $sql . "\r\n";
		return file_put_contents($path, $sql, FILE_APPEND);
	}
}
?>